package com.t.bricks.bussiness.service.leaveword;

import com.t.bricks.bussiness.model.leaveword.HearerInfo;
import com.t.bricks.bussiness.model.leaveword.LeaveWordInfo;
import com.t.bricks.model.MsgEmity;

/**
 * 留言板操作类接口定义
 * @author huangxinbian
 */
public interface LeaveWordService {
	
	/**
	 * 新增留言
	 * @param leaveWordInfo
	 * @param ip
	 * @return
	 */
	MsgEmity addLeaveWord(LeaveWordInfo leaveWordInfo, String ip);
	
	/**
	 * 删除留言
	 * @param sSign
	 * @return
	 */
	MsgEmity delLeaveWord(String sSign);

	/**
	 * 按名称查找留言
	 * @param sName
	 * @return
	 */
	MsgEmity findByName(String sName);

	/**
	 * 显示所有留言
	 * @param
	 * @return
	 */
	MsgEmity findAll();

	/**
	 * 添加听众
	 * @param hearerInfo
	 * @return
	 */
	MsgEmity addHearer(HearerInfo hearerInfo);

	/**
	 * 删除听众
	 * @param sName
	 * @return
	 */
	MsgEmity delHearer(String sName);

}
